package com.smarttest.common.beans.protolcol;

import java.io.Serializable;
import java.util.Date;

/**
 * 超声波液位计数据
 *
 */
public class LiquidLevel implements Serializable {

	private static final long serialVersionUID = -4758801471250142583L;
	
	private String imei;
	private int gpsno;
	/**
	 * 协议版本号(1) + 软件版本号(2) + 硬件版本号(1)
	 */
	private String version;
	/**
	 * 标识位
	 */
	private String sign;
	/**
	 * 主油箱液位值
	 */
	private double mainLevel;
	/**
	 * 回波信号强度
	 */
	private int signalIntensity;
	/**
	 * 软件状态代码
	 */
	private int softwareStatus;
	/**
	 * 硬件故障代码
	 */
	private int hardwareStatus;
	
	private String signValue;
	
    /**
     * 主油箱实时液位值
     */
    private double realMainLevel;
    /**
     * 主油箱实时体积 
     */
    private double mainVolume;
	/**
	 * 温度值   (现在实际表示，液面波动的时间值)
	 */
	private double temperature;
	
	private String subVersion;
	
	/**
	 * 标识位
	 */
	private String subSign;
	
	private String subSignValue;
	
    /**
     * 副油箱液位值
     */
    private double subLevel;
    
    /**
     * 回波个数（信号强度）
     */
    private int subSignalIntensity;
	/**
	 * 软件状态代码
	 */
	private int subSoftwareStatus;
	/**
	 * 硬件故障代码
	 */
	private int subHardwareStatus;
	
	private String sbuSignValue;
	
    /**
     * 副油箱实时液位值
     */
    private double realSubLevel;
    /**
     * 副油箱实时体积 
     */
    private double subVolume;
	/**
	 * 温度值   (现在实际表示，液面波动的时间值)
	 */
	private double subTemperature;
	
	/**
	 * 当前速度，通过gps当前状态值获取
	 */
	private int speed;
    /**
     * GPS经度
     */
    private double lng;
    /**
     * GPS纬度
     */
    private double lat;
	/**
	 * 当前的acc状态，从gps status中获取
	 */
	private int acc;
    /**
     * 设备生成数据时间
     */
    private Date time;
    /**
     * 更新时间，服务器接受到该条数据的时间
     */
    private Date createTime;

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getSignValue() {
		return signValue;
	}

	public void setSignValue(String signValue) {
		this.signValue = signValue;
	}
	
	public String getSubVersion() {
		return subVersion;
	}

	public void setSubVersion(String subVersion) {
		this.subVersion = subVersion;
	}

	public String getSubSignValue() {
		return subSignValue;
	}

	public void setSubSignValue(String subSignValue) {
		this.subSignValue = subSignValue;
	}

	public String getSubSign() {
		return subSign;
	}

	public void setSubSign(String subSign) {
		this.subSign = subSign;
	}

	public String getSbuSignValue() {
		return sbuSignValue;
	}

	public void setSbuSignValue(String sbuSignValue) {
		this.sbuSignValue = sbuSignValue;
	}

	public int getSubSignalIntensity() {
		return subSignalIntensity;
	}

	public void setSubSignalIntensity(int subSignalIntensity) {
		this.subSignalIntensity = subSignalIntensity;
	}

	public int getSubSoftwareStatus() {
		return subSoftwareStatus;
	}

	public void setSubSoftwareStatus(int subSoftwareStatus) {
		this.subSoftwareStatus = subSoftwareStatus;
	}

	public int getSubHardwareStatus() {
		return subHardwareStatus;
	}

	public void setSubHardwareStatus(int subHardwareStatus) {
		this.subHardwareStatus = subHardwareStatus;
	}

	public double getSubTemperature() {
		return subTemperature;
	}

	public void setSubTemperature(double subTemperature) {
		this.subTemperature = subTemperature;
	}

	public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public int getGpsno() {
        return gpsno;
    }

    public void setGpsno(int gpsno) {
        this.gpsno = gpsno;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public double getMainLevel() {
        return mainLevel;
    }

    public void setMainLevel(double mainLevel) {
        this.mainLevel = mainLevel;
    }

    public double getRealMainLevel() {
        return realMainLevel;
    }

    public void setRealMainLevel(double realMainLevel) {
        this.realMainLevel = realMainLevel;
    }

    public double getSubLevel() {
        return subLevel;
    }

    public void setSubLevel(double subLevel) {
        this.subLevel = subLevel;
    }

    public double getRealSubLevel() {
        return realSubLevel;
    }

    public void setRealSubLevel(double realSubLevel) {
        this.realSubLevel = realSubLevel;
    }

    public int getSignalIntensity() {
        return signalIntensity;
    }

    public void setSignalIntensity(int signalIntensity) {
        this.signalIntensity = signalIntensity;
    }

    public int getSoftwareStatus() {
        return softwareStatus;
    }

    public void setSoftwareStatus(int softwareStatus) {
        this.softwareStatus = softwareStatus;
    }

    public int getHardwareStatus() {
        return hardwareStatus;
    }

    public void setHardwareStatus(int hardwareStatus) {
        this.hardwareStatus = hardwareStatus;
    }

    public double getTemperature() {
        return temperature;
    }

    public void setTemperature(double temperature) {
        this.temperature = temperature;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

    public double getLng() {
        return lng;
    }

    public void setLng(double lng) {
        this.lng = lng;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public int getAcc() {
        return acc;
    }

    public void setAcc(int acc) {
        this.acc = acc;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

	public double getMainVolume() {
		return mainVolume;
	}

	public void setMainVolume(double mainVolume) {
		this.mainVolume = mainVolume;
	}

	public double getSubVolume() {
		return subVolume;
	}

	public void setSubVolume(double subVolume) {
		this.subVolume = subVolume;
	}
}
